using System;
using System.Collections.Generic;
using System.Text;

namespace System.Maui.Maps
{
	public class Circle : MapElement
	{
		public static readonly BindableProperty CenterProperty = BindableProperty.Create(
			nameof(Center),
			typeof(Position),
			typeof(Circle),
			default(Position));

		public static readonly BindableProperty RadiusProperty = BindableProperty.Create(
			nameof(Radius),
			typeof(Distance),
			typeof(Circle),
			default(Distance));

		public static readonly BindableProperty FillColorProperty = BindableProperty.Create(
			nameof(FillColor),
			typeof(Color),
			typeof(Circle),
			Color.Default);

		public Position Center
		{
			get => (Position)GetValue(CenterProperty);
			set => SetValue(CenterProperty, value); 
		}

		public Distance Radius
		{
			get => (Distance)GetValue(RadiusProperty);
			set => SetValue(RadiusProperty, value); 
		}

		public Color FillColor
		{
			get => (Color)GetValue(FillColorProperty);
			set => SetValue(FillColorProperty, value); 
		}
	}
}
